package com.system.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author HYXK
 * @email null@qq.com
 * @date 2020-03-27 11:55:11
 */
@TableName("user")
@ApiModel
public class UserEntity implements Serializable {

    private static final long serialVersionUID = -5344646293374203453L;
    /**
     * user表id
     */
    @ApiModelProperty(value = "user表id")
    @TableId
    private Integer id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 人员id
     */
    @ApiModelProperty(value = "人员id")
    private String openid;
    /**
     * 用户类型
     */
    @ApiModelProperty(value = "用户类型")
    private String state;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
